﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MySite.Model
{
    public class VoteInfo
    {
        /// <summary>
        /// 自增列
        /// </summary>
        public int PID { get; set; }
        /// <summary>
        /// 投票议题ID
        /// </summary>
        public int ID{ get; set; }
        /// <summary>
        /// 作者
        /// </summary>
        public string Author{ get; set; }
        /// <summary>
        /// 投票开始时间
        /// </summary>
        public DateTime BeginDate{ get; set; }
        /// <summary>
        /// 投票结束时间
        /// </summary>
        public DateTime EndDate{ get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        public string Title{ get; set; }
        /// <summary>
        /// 投票选项
        /// </summary>
        public IList<VoteItemInfo> VoteItems{ get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime{ get; set; }
        /// <summary>
        /// 是否已经结束
        /// </summary>
        public bool IsOver{ get; set; }

    }
}
